package etr.bk.gui.rpan.image;

import etr.bk.gui.*;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;

import javax.swing.BorderFactory;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.ListCellRenderer;

public class RenderFotoPan implements ListCellRenderer<Object>
{
	
	public Component getListCellRendererComponent(JList<?> list,
													Object obj, 
													int arg2, 
													boolean isSelected, 
													boolean arg4)
	{
		
		ImageFotoPan pan = (ImageFotoPan)obj;
		pan.setSelect(isSelected, list);
		
		return pan;
	}

}